import requests

url = 'https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=MzIwOTE0NjAyNQ==&scene=124#wechat_redirect'
headers = {
    'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) MicroMessenger/6.8.0(0x16080000) MacWechat/3.2.1(0x13020110) Chrome/39.0.2171.95 Safari/537.36 NetType/WIFI WindowsWechat'
}

response2 = requests.get(url, headers=headers)

response2.encoding = 'utf-8'

print(len(response2.text))  # 303090
print(response2.text)
